spinbutton: Remove _get_panels
authorTimm Bäder <mail@baedert.org>
Tue, 22 Nov 2016 20:00:40 +0000 (21:00 +0100)
committerTimm Bäder <mail@baedert.org>
Sat, 3 Dec 2016 12:19:26 +0000 (13:19 +0100)
gtk/gtkspinbutton.c
gtk/gtkspinbutton.h

index fb367c2f7d3cc5480854af9e4407ba2c2631440c..954e1def78123a86c8dcc7564a305c9f559dfc1a 100644 (file)
@@ -2576,18 +2576,6 @@ gtk_spin_button_update (GtkSpinButton *spin_button)
     gtk_spin_button_set_value (spin_button, val);
 }
 
-void
-_gtk_spin_button_get_panels (GtkSpinButton  *spin_button,
-                             GdkWindow     **down_panel,
-                             GdkWindow     **up_panel)
-{
-  if (down_panel != NULL)
-    *down_panel = spin_button->priv->down_panel;
-
-  if (up_panel != NULL)
-    *up_panel = spin_button->priv->up_panel;
-}
-
 static void
 gtk_spin_button_direction_changed (GtkWidget        *widget,
                                    GtkTextDirection  previous_dir)
index 3e92cab08c440bed11c466756ed139d41a7b5a65..7ce9965077cd0a2614eafb00beb8f76d65515318 100644 (file)
@@ -228,11 +228,6 @@ gboolean        gtk_spin_button_get_snap_to_ticks  (GtkSpinButton  *spin_button)
 GDK_AVAILABLE_IN_ALL
 void            gtk_spin_button_update             (GtkSpinButton  *spin_button);
 
-/* private */
-void            _gtk_spin_button_get_panels        (GtkSpinButton  *spin_button,
-                                                    GdkWindow     **down_panel,
-                                                    GdkWindow     **up_panel);
-
 G_END_DECLS
 
 #endif /* __GTK_SPIN_BUTTON_H__ */